import csv
import json

import yaml

def get_data_yaml(filepath):
    with open(filepath,'r',encoding='utf-8') as f:
        return yaml.safe_load(f)

import json
def get_data_from_json(filepath):
    with open(filepath,'r',encoding='utf-8') as f:
        return json.load(f)

def get_data_from_csv(filepath):
    with open(filepath,'r') as f:
        datas = csv.reader(f)
        next(datas)
        lis = []
        for i in datas:
            lis.append(i)
        return lis

datas = get_data_from_csv(r'/gaoyi/lianxi/data/data.csv')
print(datas)